package com.ruoyi.service.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import javax.validation.constraints.NotNull;
import lombok.Data;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 折扣信息对象 service_charge_discount
 * 
 * @author yepanpan
 * @date 2025-04-21
 */
@Data
public class ServiceChargeDiscount extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增长主键ID */
    private Long id;

    /** 区域 */
    @Excel(name = "区域")
    private String deptName;
    private Long deptId;

    /** 收费项目 */
    @Excel(name = "收费项目", dictType = "fee_type", comboReadDict = true)
    @NotNull
    private String feeType;

    /** 名称 */
    @Excel(name = "折扣名称")
    @NotNull
    private String name;

    /** 折扣方式 */
    @Excel(name = "折扣方式", dictType="discount_type", comboReadDict=true)
    @NotNull
    private String type;

    /** 收费标准 */
    @Excel(name = "折扣金额")
    @NotNull
    private BigDecimal fee;

    /** 使用条件 */
    @Excel(name = "使用条件")
    private String conditions;

    /** 开始日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始日期", width = 30, dateFormat = "yyyy-MM-dd")
    @NotNull
    private Date startDate;

    /** 结束日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束日期", width = 30, dateFormat = "yyyy-MM-dd")
    @NotNull
    private Date endDate;


}
